namespace CollabApp.Domain.Services.Auth;

/// <summary>
/// 认证服务接口
/// </summary>
public interface IAuthService
{
    // 登录
    Task<dynamic> LoginAsync(string username, string password, bool rememberMe = false);
    // 注册
    Task<dynamic> RegisterAsync(string username, string password, string confirmPassword,string avatar);
    // 刷新令牌
    Task<dynamic> RefreshTokenAsync(string refreshToken);
    // 忘记密码
    Task<dynamic> ForgotPasswordAsync(string username, string newPassword);
}